<template>
	<view>
		<Yinsi v-if="type==='yinsi'"></Yinsi>
		<Xieyi v-if="type==='xieyi'"></Xieyi>
		<Zhuyi v-if="type==='zhuyi'"></Zhuyi>
	</view>
</template>

<script lang="ts" setup>
	import {onLoad} from '@dcloudio/uni-app'
	import {ref,reactive} from "vue"
	import Yinsi from "./components/yinsi.vue"
	import Xieyi from "./components/xieyi.vue"
	import Zhuyi from "./components/zhuyi.vue"
	
	let type=ref('')
	onLoad((options)=>{
		console.log(options.type)
		type.value=options.type
	})
</script>

<style lang="scss">

</style>
